// 首页 banner list 列表
const mongoose = require('../db')

const bannerSchema = mongoose.Schema({
  "imgUrl": String,
  "jumpUrl": String,
  "bannerId": String,
  "createTime": {
    type: String,
    default: new Date().getTime()
  },
})

const banner = mongoose.model('banners', bannerSchema, 'banners')
module.exports = banner